public class Animal {
    private String name;
    private String size;
    private String quality;

    public Animal(String name, String size, String quality) {
        this.name = name;
        this.size = size;
        this.quality = quality;
    }

    public String getName() {
        return name;
    }

    public String getSize() {
        return size;
    }

    public String getQuality() {
        return quality;
    }

    public void move() {
        System.out.println("The animal " + name + " can run or walk.");
    }
}
